﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FeaturedControl.ascx.cs" Inherits="controls_FeaturedControl" %>

<section class="featured">
    <asp:Repeater ID="rptFeatured" runat="server">
        <ItemTemplate>
            <article class='<%# Eval("Class") %>'>
                <p class="type"></p>
                <div class="cover" style='<%# "background-image: url("+Eval("Picture")+");"%>)'>
                    <a href='<%# Eval("Link") %>'></a>
                </div>
                <header>
                    <h1>
                        <a href='<%# Eval("Link") %>'><%# Eval("Title") %> 
                        </a>
                    </h1>
                    <time datetime='<%# Eval("PublishDate") %>'></time>
                    <p class="cate"><%# Eval("CategoryID") %></p>
                    <p class="summary"><%# Eval("Descrpition") %></p>
                </header>
                <%-- Những tin liên quan --%>
                <ul class="relate">
                    <%--<li class=""><a href="#"></a></li>--%>
                </ul>
            </article>
        </ItemTemplate>
    </asp:Repeater>
</section>
